//
//  BeginCollectionViewCell.m
//  A段项目,漫画
//
//  Created by dllo on 15/4/25.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "BeginCollectionViewCell.h"
#define WIDTH self.contentView.frame.size.width
#define HEIGHT self.contentView.frame.size.height
@implementation BeginCollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.beginImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT)];
        [self.contentView addSubview:self.beginImage];
        [self.beginImage release];
        
        self.myLabel = [[UILabel alloc] initWithFrame:CGRectMake(WIDTH / 3, HEIGHT - 140, WIDTH / 3, 40)];
        [self.contentView addSubview:self.myLabel];
        
        self.startButton = [UIButton buttonWithType:UIButtonTypeSystem];
        self.startButton.frame = CGRectMake(WIDTH / 3, HEIGHT - 140, WIDTH / 3, 40);
        [self.contentView addSubview:self.startButton];
    }
    return self;
}

-(void)layoutSubviews{
    [super layoutSubviews];
}

@end
